package com.bjsc.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.bjsc.entity.Withdraw;

import java.util.Map;

/**
 * @author create by VIC.Huang
 * @date 2018/2/7
 */
public interface IWithdrawService extends IService<Withdraw> {
    /**
     * 分页查询
     */
    Page<Map<Object, Object>> selectWithdrawPage(Page<Map<Object, Object>> page);

    /**
     * 结算
     */
    boolean settle(Long id);

    /**
     * 取消结算
     */
    boolean cancelSettle(Long id);
}
